package Class;

public class Test {
    public static void main(String[] args) {
        CollegeStudent cs1=new CollegeStudent("阿道夫",001,"应用技术系");
        CollegeStudent cs2=new CollegeStudent("矮生杜鹃",002,"初教系");
        System.out.println(cs1.xm);
        System.out.println(cs1.xb);
        System.out.println(cs2.xm);
        System.out.println(cs2.xb);

        CollegeStudent yy1=new CollegeStudent(003,"蜂人","软件一班");
        CollegeStudent yy2=new CollegeStudent(004,"牛肉丝","计信一班");
        System.out.println(yy1.xm);
        System.out.println(yy1.bj);
        System.out.println(yy1.xb);

        System.out.println(yy2.xm);
        System.out.println(yy2.bj);
        System.out.println(yy2.xb);

        yy2.xx="成都航空";
        System.out.println(yy1.xx);
        System.out.println(yy2.xx);
    }
}
